﻿using Service.Net.Model;
using System;
using System.Threading.Tasks;

namespace Service.Net.Manager
{
    public interface INetManager
    {
        event Action<string> MessageEvent;
        event Action<bool> ConnectStatusChangedEvent;

        Task<bool> ConnectNet(ConnectModel model);

        Task SendMessage(string topic, string message);
    }
}